#ifndef CHANGER_SYS_ICON_H
#define CHANGER_SYS_ICON_H

#include <QtGui>
#include <QDomDocument>
class Wallpaper;
class ImageWindow;

class ChangerSysIcon : public QSystemTrayIcon {
Q_OBJECT
protected:
    QMenu *menu;
    QPointer < ImageWindow > imageWin;
public:
    ChangerSysIcon(QWidget *parent = NULL);
    ~ChangerSysIcon();
protected:
    QDomDocument wallpaperDoc;
    QTimer *changeTimer;
    QString getCurrentWallpaper();
    QFileInfoList getImageList();
protected slots:
    void activatedSlot(QSystemTrayIcon::ActivationReason);
    void changeWallpaper();
    void showOptions();
    void showImages();
};

#endif

